﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Models
{
   public class MenuInfo :BasesDeleteEntity
    {
        /// <summary>
        /// 标题
        /// </summary>
        [MaxLength(16)]

        public string Title { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [MaxLength(32)]

        public string Description { get; set; }
        /// <summary>
        /// 等级
        /// </summary>
        public int Level { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 访问地址
        /// </summary>
        [MaxLength(128)]

        public string Href { get; set; }
        /// <summary>
        /// 父菜单id
        /// </summary>
        [MaxLength(36)]

        public string ParentId { get; set; }

        /// <summary>
        /// 父菜单id
        /// </summary>
        [MaxLength(32)]

        public string Icon { get; set; }
        /// <summary>
        /// 目标
        /// </summary>
        [MaxLength(16)]

        public string Target { get; set; }
    }
}
